package com.itheima.regexdemo;

public class Demo1 {
    public static void main(String[] args) {
        System.out.println("a".matches("[a-z[def]]"));
        String regex5 = "[1-9]\\d{16}[\\d(?i)x]";
        System.out.println("15040119810705387X".matches(regex5));
    }
}
